package com.turnengine.client.local.action.command.gwt;

import com.google.common.annotations.GwtCompatible;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.javabi.codebuilder.generated.gwt.IGeneratedRemoteService;
import com.javabi.command.errorcode.gwt.GwtErrorCodeException;
import com.turnengine.client.local.action.bean.IActionCondition;
import com.turnengine.client.local.action.enums.ActionConditionExecute;
import com.turnengine.client.local.action.enums.ActionConditionMandatory;
import com.turnengine.client.local.action.enums.ActionConditionType;
import com.turnengine.client.local.action.enums.ActionTargetType;

/**
 * The Add Action Condition Service.
 */
@GwtCompatible
@RemoteServiceRelativePath("AddActionConditionService")
public interface AddActionConditionService extends RemoteService, IGeneratedRemoteService {

	IActionCondition addActionCondition(long loginId, int instanceId, int actionId, ActionTargetType targetType, ActionConditionType type, ActionConditionExecute execute, ActionConditionMandatory mandatory, int conditionId, long conditionAmount) throws GwtErrorCodeException;
}
